Chapter 6 - Optimizing materials for HDRI



chap6.jpg

 

1.  New scene with no lights

     a.  Enable global environment

     b.  Set settings in both Environmental Mapping Panel and Shadow panel

          i.   Close both panels

     c.  Drag course camera object to Link Editor

     d.  Drag HDRI Pano Viewer to Link Editor

     e.  Go to advance aspect for both objects in LE and hook up connections.


 

2.  Welcome back to this part of the course on optimizing materials for HDRI lighting.

 

     a.  I am sure you followed the enabling of an HDRI environment but are probably wondering what was all the other clicks for?

 

     b.  In the link editor I connected the Course Camera with the HDRI viewer

 

          i.   Besides seeing the versatility of the link editor, this is a good opportunity to introduce some tools that may help you get the most out of using HDRI in trueSpace.

 

          ii. I am going to select the Course Camera, change Link Editor aspect to 3d and select camera view both in Link Editor and modeler

 

          iii.      Closing Bitmaps library

 

          iv. In 3d aspect of Link Editor, you can see the following preferences

 

               (1)     Ground disabled

               (2)     Using Post Processing

               (3)     and Bridge is turned on, I am just doing this to make sure everything will stay synced between Player and Modeler

 

          v.  What we have is a view similar to how the camera in the modeler will render a HDRI.

 

                    (a)     As you will see later this can be used to more easily set up your scenes to take advantage of HDRI lighting and as a background.

 

                    (b)     At first you probably find camera behavior strange, but it does reflect how the HDRI will render in the modeler. I will do a few moves and some renders.

 

                         (i) An HDRI environment is like going outside in a way, the sun and many other objects stay in the same location even when you move forward or backwards, rotating you see things change.

 

                              1) So play around with this and get a good feel in what happens when you move around.

 

     c.  Most materials need light in order for them to be seen. I see a good point where light is shining through a window, maybe a good spot to test some materials out.

 

     d.  Placing your materials in the lighting environment you are going to use may save you from readjustments later.

 

     e.  Your scene and what you are trying to express will dictate more in the material settings then any fix settings I can give you.

 

     f.  So these are general suggestions and observations which maybe useful with your adventure in HDRI.


 

3.  Since HDRI lighting comes from images with much greater luminous variations then normal lighting in 3D programs, materials set up to look good for one type of lighting system may appear washed out or too bright and maybe too dark for another method of lighting.

 

          i.   So taking an old scene and turning on HDRI may not give the results you expected.

 

4.  In general let HDRI do the lighting for most of your materials in your scene

 

     a.  This doesn’t mean no custom lights.

 

     b.  I am referring to the luminous setting on the reflective channel of your material

 

          i.   Since HDRI environments record actual lighting conditions of a real environment, your objects and materials will be lighted from all sides, as if it was actually in that environment.

 

          ii. Increasing the luminous setting will actually take away some of the dynamic range of your scene or object. Since the material will glow at some level of brightness and override the shading and lighting from the HDRI depending on setting.

 

          iii.      For example lets take a sphere

               (1)     move on in

                    (a)     note the response with the environment as I do this

 

               (2)      render. It is shaded and look like it could be part of the environment

 

               (3)     Lets raise the Luminance setting and lower diffusion and render.

 

                    (a)     Now it doesn’t look to much part of the environment

 

5.  Decrease the material diffusion setting and increase the HDRI intensity

     a.  With material setup to use LDR lighting, the material settings tend to be exaggerated. Increase HDRI light intensity and lower your material diffuse settings

               (1)     You will probably be surprised at the results

 

6.  Shininess and specular, be careful

     a.  A square window on a shinny object will look square, not round

     b.  Using reflection to accurately reflect shininess and specular may give better results

     c.  We will cover these aspects more in the next chapter

 

7.  Bump maps, displacement shaders and normal maps combined with transparencies can greatly increase realism of your materials in a HDRI environment due to full lighting of an HDRI lighted scene.

 

8.  Go ahead and experiment with different materials and different settings, place them in this room or kitchen and see how they are lighted up. See if they light up as you would expect them.

 

9.  That’s it for now, lets move on.